import request from '@/utils/request'

// 获取快递员分页数据

export const getCourierList = (params) => {
  return request({
    url: '/business-hall/courier/page',
    params
  })
}

// 根据机构查询快递员
export function getCourier(id) {
  return request({
    url: `/manager/business-hall/courier/findByAgencyId/${id}`
  })
}
